PaymentPlugins\WooCommerce\PPCP\PaymentButtonController S

Total Complexity 36
Dependencies 4
Dependents 4
Total lines 163
Lines of code 126
Logical lines of code 62
Comment lines 0
Methods 15
Properties 9

Methods 15

Method Rating Maintainability Complexity Lines of code
render_cart_buttons()
S
58 5 15
render_product_buttons()
S
59 5 14
render_express_buttons()
S
58 4 17
render_checkout_button()
S
65 4 10
get_order_review_fragments()
S
59 3 14
render_minicart_buttons()
S
63 3 11
initialize()
S
61 2 12
init_dependencies()
S
71 2 5
add_product_action()
S
66 2 8
__construct()
S
74 1 5
set_render_cart_buttons()
S
81 1 3
set_render_product_buttons()
S
81 1 3
set_render_express_buttons()
S
81 1 3
set_cart_location()
S
81 1 3
set_minicart_location()
S
81 1 3